<?xml version="1.0" encoding="UTF-8"?>
<p:beans xmlns:p="http://www.springframework.org/schema/beans"
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd ">
	
	<p:bean id="myDII" class="com.netease.spring.introduction.MyDDI"></p:bean>
	
	<!-- 默认的引入切入点通知（代理引入拦截器，对引入通知进行包装） -->
	<p:bean id="delegatingIntroductionInterceptor"
		class="org.springframework.aop.support.DelegatingIntroductionInterceptor">
		<p:constructor-arg ref="myDII"></p:constructor-arg>
	</p:bean>
	
	<!-- 目标对象 -->
	<p:bean id="welcomeServiceTarget" class="com.netease.spring.introduction.WelcomeServiceImpl"></p:bean>
	
	<!-- 对象代理 -->
	<p:bean id="welcomeService" class="org.springframework.aop.framework.ProxyFactoryBean">
		<!-- 代理接口集 -->
		<p:property name="proxyInterfaces">
			<p:list>
				<p:value>com.netease.spring.introduction.ModifyData</p:value>
				<p:value>com.netease.spring.introduction.WelcomeService</p:value>
			</p:list>
		</p:property>
		<!-- 拦截器名集 -->
		<p:property name="interceptorNames">
			<p:list>
				<p:value>delegatingIntroductionInterceptor</p:value>
			</p:list>
		</p:property>
		<!-- 指定目标对象 -->
		<p:property name="target" ref="welcomeServiceTarget"></p:property>
	</p:bean>
</p:beans>
